fileName = 'output.txt';
delete(fileName);

input_files = dir(fullfile('trung/video'));
for i = 1:size(input_files,1)
    name = input_files(i).name;
    if name(1) ~= '.'
        fid = fopen(fileName, 'at');
        fprintf(fid, '%s\n', name);
        fclose(fid);
        
        info = process_luc(strcat('trung/video/', name));
        dlmwrite(fileName, info, '-append', 'delimiter', '\t', 'newline', 'pc');
        display(info);
    end
end
